﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using IToursDataService.Models;

namespace IToursDataService
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IGuideArrangeCtrl”。
    [ServiceContract]
    public interface IGuideArrangeCtrl
    {
        [OperationContract(Name = "GetGuideArrangeDataByTID")]
        DataTable GetGuideArrangeData(string tourgroupId);
        [OperationContract(Name = "GetGuideArrangeDataByTIDAndOwnerID")]
        DataTable GetGuideArrangeData(string tourgroupId, int ownerProviderID);
        //[OperationContract(Name = "GetGuideArrangeDataByDate")]
        //DataTable GetGuideArrangeData(DateTime _StartDate, DateTime _EndDate);//,string ownerProviderID)
        //[OperationContract(Name = "GetGuideArrangeDataByCityNameEtc")]
        //DataTable GetGuideArrangeData(string cityname, string language, int statusIndex, DateTime startDateTime, DateTime endDateTime, string loginProviderID);
        //[OperationContract(Name = "GetGuideArrangeDataByciceroniID")]
        //DataTable GetGuideArrangeData(string yMd, string ciceroniId);
        [OperationContract]
        DataTable GetGuideInfoForPrint(string tourgroupId);
        //[OperationContract]
        //bool CheckExistGuideArrangeInfo(string ciceroniId);

        [OperationContract(Name = "UpdateGuideArrangeDataByEntity")]
        int UpdateGuideArrangeData(GuideArrangeEntity entity);
        //[OperationContract(Name = "UpdateGuideArrangeDataByGID")]
        //int UpdateGuideArrangeData(int guideArrangeId, int notified);
        [OperationContract]
        int CreateGuideArrangeData(List<GuideArrangeEntity> entities);
        [OperationContract]
        void DeleteGuideArrangeData(string guideArrangeId);

    }
}
